projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a336fe2
)
gtk: add nullable annotation to gtk_css_section_get_file
author
Bilal Elmoussaoui
<bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 16:31:38 +0000
(17:31 +0100)
committer
Bilal Elmoussaoui
<bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 16:31:38 +0000
(17:31 +0100)
The constructor takes a nullable file param
gtk/css/gtkcsssection.c
patch
|
blob
|
history
diff --git
a/gtk/css/gtkcsssection.c
b/gtk/css/gtkcsssection.c
index 5851cc201c3ad13baff3c1df66ff3958d5b5dffc..727141fdb65f6a7bd8fc9670dc4ede8166278b78 100644
(file)
--- a/
gtk/css/gtkcsssection.c
+++ b/
gtk/css/gtkcsssection.c
@@
-140,7
+140,7
@@
gtk_css_section_get_parent (const GtkCssSection *section)
* If no such file exists, for example because the CSS was loaded via
* [method@Gtk.CssProvider.load_from_data], then `NULL` is returned.
*
- * Returns: (transfer none): the `GFile` from which the `section`
+ * Returns: (transfer none)
(nullable)
: the `GFile` from which the `section`
* was parsed
**/
GFile *